<template>
  <div>
    <panel>
      <template  #header="scopeProps">
        <p>{{scopeProps.prefix}}{{scopeProps.row.status}}这是传递给header的内容{{scopeProps.suffix}}</p>
      </template>
      <template  v-slot:footer="xxx">
        <p>{{xxx.prefix}}这是传递给footer的内容{{xxx.suffix}}</p>
      </template>
    </panel>
  </div>
</template>
<script>
import Panel from './views/Panel.vue';
export default {
  name:'SlotDemo',//slotProps={prefix:'$',suffix:'!'}
  data:()=>({age:18}),
  components:{
    Panel
  }
}
</script>